﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microdesk.Utility.UnitTest;
using System.Configuration;

namespace Yala.UnitTests.UnitTestBase {
    public abstract class DbUnitTestBase : DatabaseUnitTestBase {

        protected override string DatabaseConnectionString {
            get {
                var machineName = Environment.MachineName;
                var connectionString = ConfigurationManager.ConnectionStrings[machineName].ConnectionString;
                return connectionString;
            }
        }

        protected override void DatabaseFixtureSetUp() {
            base.DatabaseFixtureSetUp();
        }
        protected override void DatabaseFixtureTearDown() {
            base.DatabaseFixtureTearDown();
        }
        protected override void DatabaseSetUp() {
            base.DatabaseSetUp();
        }
        protected override void DatabaseTearDown() {
            base.DatabaseTearDown();
        }
    }
}
